﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001309 RID: 4873
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueVirtualItemInfoScNotify : IMessage<SyncRogueVirtualItemInfoScNotify>, IMessage, IEquatable<SyncRogueVirtualItemInfoScNotify>, IDeepCloneable<SyncRogueVirtualItemInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003D85 RID: 15749
		// (get) Token: 0x0600DA2F RID: 55855 RVA: 0x00248EB7 File Offset: 0x002470B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueVirtualItemInfoScNotify> Parser
		{
			get
			{
				return SyncRogueVirtualItemInfoScNotify._parser;
			}
		}

		// Token: 0x17003D86 RID: 15750
		// (get) Token: 0x0600DA30 RID: 55856 RVA: 0x00248EBE File Offset: 0x002470BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueVirtualItemInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D87 RID: 15751
		// (get) Token: 0x0600DA31 RID: 55857 RVA: 0x00248ED0 File Offset: 0x002470D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueVirtualItemInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600DA32 RID: 55858 RVA: 0x00248ED7 File Offset: 0x002470D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueVirtualItemInfoScNotify()
		{
		}

		// Token: 0x0600DA33 RID: 55859 RVA: 0x00248EDF File Offset: 0x002470DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueVirtualItemInfoScNotify(SyncRogueVirtualItemInfoScNotify other) : this()
		{
			this.rogueVirtualItemInfo_ = ((other.rogueVirtualItemInfo_ != null) ? other.rogueVirtualItemInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DA34 RID: 55860 RVA: 0x00248F14 File Offset: 0x00247114
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueVirtualItemInfoScNotify Clone()
		{
			return new SyncRogueVirtualItemInfoScNotify(this);
		}

		// Token: 0x17003D88 RID: 15752
		// (get) Token: 0x0600DA35 RID: 55861 RVA: 0x00248F1C File Offset: 0x0024711C
		// (set) Token: 0x0600DA36 RID: 55862 RVA: 0x00248F24 File Offset: 0x00247124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueVirtualItemInfo RogueVirtualItemInfo
		{
			get
			{
				return this.rogueVirtualItemInfo_;
			}
			set
			{
				this.rogueVirtualItemInfo_ = value;
			}
		}

		// Token: 0x0600DA37 RID: 55863 RVA: 0x00248F2D File Offset: 0x0024712D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueVirtualItemInfoScNotify);
		}

		// Token: 0x0600DA38 RID: 55864 RVA: 0x00248F3B File Offset: 0x0024713B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueVirtualItemInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.RogueVirtualItemInfo, other.RogueVirtualItemInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DA39 RID: 55865 RVA: 0x00248F70 File Offset: 0x00247170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueVirtualItemInfo_ != null)
			{
				num ^= this.RogueVirtualItemInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DA3A RID: 55866 RVA: 0x00248FAC File Offset: 0x002471AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DA3B RID: 55867 RVA: 0x00248FB4 File Offset: 0x002471B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DA3C RID: 55868 RVA: 0x00248FBD File Offset: 0x002471BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueVirtualItemInfo_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.RogueVirtualItemInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DA3D RID: 55869 RVA: 0x00248FF0 File Offset: 0x002471F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueVirtualItemInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueVirtualItemInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DA3E RID: 55870 RVA: 0x00249030 File Offset: 0x00247230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueVirtualItemInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueVirtualItemInfo_ != null)
			{
				if (this.rogueVirtualItemInfo_ == null)
				{
					this.RogueVirtualItemInfo = new RogueVirtualItemInfo();
				}
				this.RogueVirtualItemInfo.MergeFrom(other.RogueVirtualItemInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DA3F RID: 55871 RVA: 0x00249084 File Offset: 0x00247284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DA40 RID: 55872 RVA: 0x00249090 File Offset: 0x00247290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueVirtualItemInfo_ == null)
					{
						this.RogueVirtualItemInfo = new RogueVirtualItemInfo();
					}
					input.ReadMessage(this.RogueVirtualItemInfo);
				}
			}
		}

		// Token: 0x040056CB RID: 22219
		private static readonly MessageParser<SyncRogueVirtualItemInfoScNotify> _parser = new MessageParser<SyncRogueVirtualItemInfoScNotify>(() => new SyncRogueVirtualItemInfoScNotify());

		// Token: 0x040056CC RID: 22220
		private UnknownFieldSet _unknownFields;

		// Token: 0x040056CD RID: 22221
		public const int RogueVirtualItemInfoFieldNumber = 15;

		// Token: 0x040056CE RID: 22222
		private RogueVirtualItemInfo rogueVirtualItemInfo_;
	}
}
